﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crosland.Automotriz.Core;

namespace Crosland.Automotriz.Data.Dao.Linq
{
    public class clsT_Imp_Importacion_Estado
    {
        AutomotrizEntities ContextodeObjs = new AutomotrizEntities();

        public List<T_IMP_IMPORTACION_ESTADO> lista()
        {
            List<T_IMP_IMPORTACION_ESTADO> lista = new List<T_IMP_IMPORTACION_ESTADO>();

            try
            {
                var q = from c in ContextodeObjs.T_IMP_IMPORTACION_ESTADO
                        select c;
                lista = q.ToList();
            }
            catch (Exception)
            {
                lista = null;
            }
            return lista;
        }
    }
}
